package belf.migrate.api.exception;

import belf.migrate.core.exception.BelfErrorCode;
import belf.migrate.core.exception.BelfRuntimeException;

public class CatalogException extends BelfRuntimeException {

    /** @param message the detail message. */
    public CatalogException(String message) {
        super(APIErrorCode.CATALOG_INITIALIZE_FAILED, message);
    }

    public CatalogException(BelfErrorCode eErrorCode, String errorMessage) {
        super(eErrorCode, errorMessage);
    }

    /** @param cause the cause. */
    public CatalogException(Throwable cause) {
        super(APIErrorCode.CATALOG_INITIALIZE_FAILED, cause);
    }

    /**
     * @param message the detail message.
     * @param cause the cause.
     */
    public CatalogException(String message, Throwable cause) {
        super(APIErrorCode.CATALOG_INITIALIZE_FAILED, message, cause);
    }

    public CatalogException(APIErrorCode apiErrorCode, String message, Throwable cause) {
        super(apiErrorCode, message, cause);
    }
}
